package com.pocketsweet.model;

import com.avos.avoscloud.AVClassName;
import com.avos.avoscloud.AVObject;
import com.pocketsweet.service.UserService;

@AVClassName("MLFeedback")
public class MLFeedback extends AVObject{
	public static final String ADVISE = "advise";
	public static final String EMAIL = "email";
	public static final String USER = "user";
	public static final String STATUS = "status";
	public static final String VERSION = "version";
	public static final String SYS_INFO = "sys_info";

	public MLFeedback() {
		setUser(UserService.getCurrentUser());
	}

	// //////////////////////////////////////////
	// 外键反馈人
	// //////////////////////////////////////////
	public MLUser getUser() {
		return (MLUser) super.getAVUser(USER);
	}

	public void setUser(MLUser user) {
		super.put(USER, user);
	}

	// //////////////////////////////////////////
	// get
	// //////////////////////////////////////////
	public String getAdvise() {
		return super.getString(ADVISE);
	}

	public void setAdvise(String value) {
		super.put(ADVISE, value);
	}

	public String getEmail() {
		return super.getString(EMAIL);
	}

	public void setEmail(String value) {
		super.put(EMAIL, value);
	}
	
	public int getStatus() {
		return super.getInt(STATUS);
	}
	
	public void setStatus(int value) {
		super.put(STATUS, value);
	}
	public String getVersion() {
		return super.getString(VERSION);
	}

	public void setVersion(String value) {
		super.put(VERSION, value);
	}
	

	public String getSysInfo() {
		return super.getString(SYS_INFO);
	}

	public void setSysInfo(String value) {
		super.put(SYS_INFO, value);
	}
	

}
